import request from "@/plugins/axios";
//  客户联系人
export function listApi(data) {
  return request({
    url: "/crm/contacts/customer",
    method: "post",
    data,
  });
}
//  新增客户联系人
export function addApi(data) {
  return request({
    url: "/crm/contacts/create",
    method: "post",
    data,
  });
}
//  修改
export function saveApi(data) {
  return request({
    url: "/crm/contacts/save",
    method: "post",
    data,
  });
}
//  删除
export function delApi(data) {
  return request({
    url: "/crm/contacts/delete",
    method: "post",
    data,
  });
}
//  客户选项
export function optionsApi(data) {
  return request({
    url: "/crm/contacts/options",
    method: "post",
    data,
  });
}
